reverse algorithm

visit shbcf.ru